package eteam.aps.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import eteam.aps.model.entity.sale.SaleScanAlready;
import eteam.aps.model.vo.sale.SaleAlreadyVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * SaleScanAlready Mapper 接口
 *
 * @author Ll
 * @since 2024/01/09
 */
@Mapper
public interface SaleScanAlreadyMapper extends BaseMapper<SaleScanAlready> {
    /**
     * 批量添加以入库的产品
     *
     * @param alreadyList 产品
     */
    void batchInsert(List<SaleScanAlready> alreadyList);


    /**
     * 查询销售订单 产品详情
     * @param map 产品订单详情
     * @return 产品条码
     */
    List<SaleAlreadyVo> selectDetailsList(Map<String, Object> map);
}
